<cfcomponent>
	<cffunction name="getfiles" access="public" returntype="query">
		<cfargument name="fullpath" type="string" required="yes">
        <cfdirectory action="list" directory = "#fullpath#" name = "qfiles" sort="name ASC" type="file">
		<cfreturn qfiles>
	</cffunction>
	<cffunction name="getfolders" access="public" returntype="query">
		<cfargument name="fullpath" type="string" required="yes">
		<cfdirectory action="list" directory = "#fullpath#" name = "qdirs" sort="name ASC" type="dir">
		<cfreturn qdirs>
	</cffunction>
</cfcomponent>